package com.haoran.dwz.dto;

import com.haoran.dwz.wrapper.PeriodWrapper;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("网址查询条件对象")
public class DwzDTO extends PeriodWrapper {

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty("短网址关键字")
	private String dwz;

	@ApiModelProperty("原网址关键字")
	private String url;

	public String getDwz() {
		return dwz;
	}

	public void setDwz(String dwz) {
		this.dwz = dwz;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public static void main(String[] args) {
		DwzDTO dwz = new DwzDTO();
		dwz.setPeriod("2018-1-2 00:00:00 - 2018-1-12 20:00:00");
		System.out.println(dwz.getStartDateTime());
		System.out.println(dwz.getEndDateTime());
	}
}
